
<div id="cadastro" class="grid_12">
	<h2>Módulos > Permissão</h2>
	
	<form action="../../Modulos/permissoes" method="post" id="Modulo">
		<input type="hidden" value="<?php echo $modulo['Modulo']['id'] ?>" name="data[ModuloOperacao][modulo_id]" />
		<div class="grid_11">
			<fieldset>
				<legend><?php echo $modulo['Modulo']['modulo_exibicao'] ?></legend>
				
				<?php foreach($operacoes['Operacao'] as $operacao): ?>
					<input type="checkbox" value="<?php echo $operacao['id'] ?>" name="data[ModuloOperacao][operacao_id][]" />
					<label><?php echo $operacao['operacao_exibicao'] ?></label>
				<?php endforeach; ?>
				
			</fieldset>
		</div>
		<div class="grid_12">
			<input class="submit" type="submit" value="Enviar" />
		</div>
		
	</form>

</div>

<script src="../../public/js/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="../../public/js/jquery-validation-1.9.0/jquery.validate.min.js" type="text/javascript"></script>
<script src="../../public/js/modulo.valida.js" type="text/javascript"></script>
